StupidBeauty
Read times:608Posted at:Mon Feb 18 05:11:44 2013
- no title specified

转载Android UI学习 - 对话框 (AlertDialog & ProgressDialog)

可使用AlertDialog来显示一个消息框,这个消息框需要用户的交互才会消失。

http://android.blog.51cto.com/268543/333769

亮点

警告对话框AlertDialog的使用

为了创建一个警告对话框,使用AlertDialog.Builder 子类。通过AlertDialog.Builder(Context)获取一个构造器然后使用这个类的公共方法来定义警告对话框的所有属性。当得到构造器后,通过create().方法来获取警告对话框对象。有时我是不调用create()的,而是在设置好了后直接调用show()显示AlertDialog。

Dialog_buttonDialog_button

未知美女

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands